home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / misc / sci / RARS_Amiga_3.lha / RARS / EAGUI_macros.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-27  |  2.5 KB  |  109 lines

  1. /*
  2.  * $RCSfile: EAGUI_macros.h,v $
  3.  *
  4.  * $Author: marcel $
  5.  *
  6.  * $Revision: 3.0 $
  7.  *
  8.  * $Date: 1994/10/27 19:45:48 $
  9.  *
  10.  * $Locker: marcel $
  11.  *
  12.  * $State: Exp $
  13.  */
  14.  
  15. #ifndef EAGUI_MACROS_H
  16. #define EAGUI_MACROS_H
  17.  
  18. #define HGroup \
  19.     ea_NewObject(EA_TYPE_HGROUP,\
  20.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  21.  
  22. #define VGroup \
  23.     ea_NewObject(EA_TYPE_VGROUP,\
  24.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  25.  
  26. #define GTString(text) \
  27.     ea_NewObject(EA_TYPE_GTGADGET,\
  28.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  29.         EA_GTType,        STRING_KIND,\
  30.         EA_GTText,        (ULONG)text,\
  31.         EA_GTFlags,        PLACETEXT_LEFT,
  32.  
  33. #define GTText(text) \
  34.     ea_NewObject(EA_TYPE_GTGADGET,\
  35.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  36.         EA_GTType,        TEXT_KIND,\
  37.         EA_GTText,        (ULONG)text,\
  38.         EA_GTFlags,        PLACETEXT_LEFT,
  39.  
  40. #define GTButton(text) \
  41.     ea_NewObject(EA_TYPE_GTGADGET,\
  42.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  43.         EA_GTType,        BUTTON_KIND,\
  44.         EA_GTText,        (ULONG)text,\
  45.         EA_GTFlags,        PLACETEXT_IN,
  46.  
  47. #define GTScroller \
  48.     ea_NewObject(EA_TYPE_GTGADGET,\
  49.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  50.         EA_GTType,        SCROLLER_KIND,
  51.  
  52. #define GTSlider \
  53.     ea_NewObject(EA_TYPE_GTGADGET,\
  54.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  55.         EA_GTType,        SLIDER_KIND,
  56.  
  57. #define GTCheckBox(text) \
  58.     ea_NewObject(EA_TYPE_GTGADGET,\
  59.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  60.         EA_GTType,        CHECKBOX_KIND,\
  61.         EA_GTText,        (ULONG)text,\
  62.         EA_GTFlags,        PLACETEXT_LEFT,
  63.  
  64. #define GTInteger(text) \
  65.     ea_NewObject(EA_TYPE_GTGADGET,\
  66.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  67.         EA_GTType,        INTEGER_KIND,\
  68.         EA_GTText,        (ULONG)text,\
  69.         EA_GTFlags,        PLACETEXT_LEFT,
  70.  
  71. #define GTNumber(text) \
  72.     ea_NewObject(EA_TYPE_GTGADGET,\
  73.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  74.         EA_GTType,        NUMBER_KIND,\
  75.         EA_GTText,        (ULONG)text,\
  76.         EA_GTFlags,        PLACETEXT_LEFT,
  77.  
  78. #define GTListView(text) \
  79.     ea_NewObject(EA_TYPE_GTGADGET,\
  80.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  81.         EA_GTType,        LISTVIEW_KIND,\
  82.         EA_GTText,        (ULONG)text,\
  83.         EA_GTFlags,        PLACETEXT_ABOVE,
  84.  
  85. #define GTMX \
  86.     ea_NewObject(EA_TYPE_GTGADGET,\
  87.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  88.         EA_GTType,        MX_KIND,\
  89.  
  90. #define GTCycle \
  91.     ea_NewObject(EA_TYPE_GTGADGET,\
  92.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  93.         EA_GTType,        CYCLE_KIND,\
  94.  
  95. #define GTPalette \
  96.     ea_NewObject(EA_TYPE_GTGADGET,\
  97.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  98.         EA_GTType,        PALETTE_KIND,\
  99.  
  100. #define EmptyBox(weight)\
  101.     ea_NewObject(EA_TYPE_CUSTOMIMAGE,\
  102.         EA_StandardMethod,    EASM_MINSIZE|EASM_BORDER,\
  103.         EA_Weight,        weight,
  104.  
  105. #define End \
  106.         TAG_DONE)
  107.  
  108. #endif /* EAGUI_MACROS_H */
  109.